package com.learn.springlearn.constant;

public enum CarEnum {

    /**
     * 存在
     */
    EXIST(2,"存在"),

    UN_EXIST(3,"不存在");


    private Integer value;

    private String desc;

    CarEnum(Integer value, String desc) {
        this.value = value;
        this.desc = desc;
    }

    public Integer getValue() {
        return value;
    }

    public String getDesc() {
        return desc;
    }
}
